<?php


namespace app\api\validate;


use think\Validate;

class OpusNumberVal extends Validate
{
    protected $rule=array(
        'status'=>'require',
        'each_price'=>'require',
        'is_commission'=>'require',
    );
    protected $message=array(
        'status.require'=>'请选择状态',
        'each_price.require'=>'请输入金额',
        'is_commission.require'=>'请选择是否参与分享',
    );
    protected $scene=array(
        'edit'=>['status','each_price','is_commission'],
    );
}